<!DOCTYPE html>
<html>
<head>
    <% include common/meta.ejs %>
    <title>登录</title>
    <% include common/public.ejs %>
    <style>
        body{
            padding-top: 40px;
            padding-bottom: 40px;
            background-color: #eee;
        }
        .form-signin {
            max-width: 330px;
            padding: 15px;
            margin: 0 auto;
        }
    </style>
</head>
<body>
<div class="container">

    <form class="form-signin" action="/login" method="post" id="loginForm">
        <input type="hidden" value="<%=redirect %>" id="redirectUrl" />
        <h2 class="form-signin-heading">请登录</h2>
        <label for="inputEmail" class="sr-only">用户名</label>
        <input type="text" class="form-control" placeholder="用户名" name="username" autofocus>
        <label for="inputPassword" class="sr-only">密码</label>
        <input type="password" class="form-control" placeholder="密码" name="password">
        <br/>
        <button class="btn btn-lg btn-primary btn-block" type="submit" id="LoginButton">登录</button>
    </form>
    <% include common/footer.ejs %>
</div>
</body>
</html>
